package com.newtouch.bxzs.common.base.em;

/**
 * 广告类型枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020年12月23日</td>
 * <td>Amour</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author Amour
 * @version 1.0.0
 * @since 1.0.0
 */
public enum AdvertisementTypeEnum {

	// 首页广告
    HOME_ADVERTISEMENT("2", "首页广告"),
    // 启动页广告
    START_ADVERTISEMENT("1", "启动页广告");
    /**
     * 类型码
     */
    private String code;
    /**
     * 类型名称
     */
    private String name;


    AdvertisementTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return name;
    }
}
